package com.abs.orm.db.jdbc.provider;

public class DBConfig4SQLServer implements DBConfig {

	private static DBConfig dBConfig;

	private DBConfig4SQLServer() {
		super();
	}

	private static final long serialVersionUID = -4332669615359082103L;
	public String driverClassName = "com.mysql.jdbc.Driver";
	public String url = "jdbc:mysql://127.0.0.1:3306/abacus?user=root;password=root;useUnicode=true;amp;characterEncoding=UTF-8";
	public String username = "root";
	public String password = "root";

	public String getDriverClassName() {
		return driverClassName;
	}

	public String getUrl() {
		return url;
	}

	public String getUsername() {
		return username;
	}

	public String getPassword() {
		return password;
	}

	public static DBConfig getInstance() {
		if (null == dBConfig) {
			dBConfig = new DBConfig4SQLServer();
		}
		return dBConfig;
	}
}
